//
//  GDDBDatabaseManager.h
//  Gunterapple
//
//  Created by 热带雨林 on 2021/2/11.
//  Copyright © 2021 热带雨林. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface GDDBDatabaseManager : NSObject

/**
 实例化
 */
+ (instancetype)shareDBManager;

/**
 创建表 && 插入数据
 */
- (BOOL)insertDataWithModel:(id)model withFileName:(NSString *)FileName;
/**
 获得数据库中所有数据
 */
- (NSArray *)getAllDataWithModelClass:(Class)kclass withFileName:(NSString *)fileName;
/**
 修改修改单条数据
 */
- (BOOL)updateDataWithModel:(Class)kclass withFileName:(NSString *)fileName;
@end

NS_ASSUME_NONNULL_END
